<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box">
        <p>我是段落</p>
        <p class='para'>我是段落</p>
        <p>我是段落</p>
        <p class='spec para'>我是段落</p>
    </div>
    <script>
        var the_p = document.querySelector('.box .spec');
        console.log(the_p);
    </script>
</body>

</html>